package com.laboratory.serviceprovide.workBench.mapper;

import com.Laboratory.workBench.pojo.notice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface noticeMapper {
   List<notice> getAllNotices();
   int createNotice(notice notice);
   int updateNoticeById(notice notice);
   int deleteNoticesByIds(String []ids);
   List<notice> getNoticesByCondition(@Param("createDate") String createDate,
                             @Param("title") String title);
}